class C {
  boolean f() {
    if (new Object(){<caret>})
  }
}